home *** CD-ROM | disk | FTP | other *** search
Text File | 1998-08-17 | 2.0 KB | 82 lines | [TEXT/MPS ] |
- ;
- ; File: QD3DString.a
- ;
- ; Contains: Q3CString methods
- ;
- ; Version: Technology: Quickdraw 3D 1.5.4
- ; Release: Universal Interfaces 3.2
- ;
- ; Copyright: © 1995-1998 by Apple Computer, Inc., all rights reserved.
- ;
- ; Bugs?: For bug reports, consult the following page on
- ; the World Wide Web:
- ;
- ; http://developer.apple.com/bugreporter/
- ;
- ;
- IF &TYPE('__QD3DSTRING__') = 'UNDEFINED' THEN
- __QD3DSTRING__ SET 1
-
- IF &TYPE('__QD3D__') = 'UNDEFINED' THEN
- include 'QD3D.a'
- ENDIF
-
- ; ******************************************************************************
- ; ** **
- ; ** String Routines **
- ; ** **
- ; ****************************************************************************
-
- ;
- ; extern TQ3ObjectType Q3String_GetType(TQ3StringObject stringObj)
- ;
- IF TARGET_OS_MAC ** TARGET_RT_MAC_CFM THEN
- IMPORT_CFM_FUNCTION Q3String_GetType
- ENDIF
-
-
- ; ******************************************************************************
- ; ** **
- ; ** C String Routines **
- ; ** **
- ; ****************************************************************************
-
- ;
- ; extern TQ3StringObject Q3CString_New(const char *str)
- ;
- IF TARGET_OS_MAC ** TARGET_RT_MAC_CFM THEN
- IMPORT_CFM_FUNCTION Q3CString_New
- ENDIF
-
- ;
- ; extern TQ3Status Q3CString_GetLength(TQ3StringObject stringObj, unsigned long *length)
- ;
- IF TARGET_OS_MAC ** TARGET_RT_MAC_CFM THEN
- IMPORT_CFM_FUNCTION Q3CString_GetLength
- ENDIF
-
- ;
- ; extern TQ3Status Q3CString_SetString(TQ3StringObject stringObj, const char *str)
- ;
- IF TARGET_OS_MAC ** TARGET_RT_MAC_CFM THEN
- IMPORT_CFM_FUNCTION Q3CString_SetString
- ENDIF
-
- ;
- ; extern TQ3Status Q3CString_GetString(TQ3StringObject stringObj, char **str)
- ;
- IF TARGET_OS_MAC ** TARGET_RT_MAC_CFM THEN
- IMPORT_CFM_FUNCTION Q3CString_GetString
- ENDIF
-
- ;
- ; extern TQ3Status Q3CString_EmptyData(char **str)
- ;
- IF TARGET_OS_MAC ** TARGET_RT_MAC_CFM THEN
- IMPORT_CFM_FUNCTION Q3CString_EmptyData
- ENDIF
-
-
- ENDIF ; __QD3DSTRING__
-
-